/**
 * 
 */
package com.maohi.software.arii.events;

import java.util.EventObject;

import com.maohi.software.arii.jaxb2.Plugin;
import com.maohi.software.arii.jaxb2.Plugin.Dependencies.Dependency;

/**
 * @author heifara
 * 
 */
public class DependencyEvent extends EventObject {

	private static final long serialVersionUID = 1L;
	private final Plugin plugin;
	private final Dependency dependency;

	public DependencyEvent(Object aSource, Plugin aPlugin, Dependency aDependency) {
		super(aSource);
		this.plugin = aPlugin;
		this.dependency = aDependency;
	}

	public Dependency getDependency() {
		return this.dependency;
	}

	public Plugin getPlugin() {
		return this.plugin;
	}

}
